package com.hsf.client.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ：chaoshen(huangcs@kaizhish.com)
 * @description：
 * @date ：Created in 2020/11/19 16:30
 **/
@FeignClient(name = "hsf-server")
public interface EchoService {
    @RequestMapping(value = "/echo/{str}", method = RequestMethod.GET)
    String echo(@PathVariable("str") String str);
}
